/*
     private Integer id;
     private String type;
     private String author;
     private String linkMan;
     private String title;
     private Integer objNumber;
     private String note;
     private String keywords;
     private String description;
     private String subtype;
     private String objNo;
     private String type3;
     private Integer ord;
     private Date generateDate;
     private String generateEra;
     private String objAuthor;
     private String buildingarea;
     private String dateDisplay;
     private String tag;
     private String forward;
     private String platecatalog;
     private String protagonist;
     private String notes;
     private Date lastUpdate;
     private String notes2;
     private Integer notes3;
     private Integer fulltextid;
  
 */
Ext.define('DCApp.model.Doc', {
    extend: 'DCApp.model.Base',
    fields: [
        {name: 'name'},
        {name: 'id', type: 'int',text:'编号'},
        {name: 'type',text:'类型'},
        {name: 'author'},
        {name: 'linkMan'},
        {name: 'title'},
        {name: 'objNumber', type: 'int'},
        {name: 'note'},
        {name: 'keywords'},
        {name: 'description'},
        {name: 'subtype'},
        {name: 'objNo'},
        {name: 'type3'},
        {name: 'ord'},
        {name: 'generateDate', type: 'date',  dateFormat: 'Y-m-d H:i:s'},
        {name: 'generateEra'},
        {name: 'objAuthor'},
        {name: 'buildingarea'},
        {name: 'dateDisplay'},
        {name: 'tag'},
        {name: 'forward'},
        {name: 'platecatalog'},
        {name: 'protagonist'},
        {name: 'notes'},
        {name: 'lastUpdate', type: 'date',  dateFormat: 'Y-m-d H:i:s'},
        {name: 'notes2'},
        {name: 'notes3', type: 'int'},
        {name: 'dcTxtwords', type: 'int'},
        {name:'dcDraft'},
        {name:'dcEditor1'},
        {name:'dcEditor2'},
        {name:'dcEditor0'},
        {name: 'fulltextid', type: 'int'}
    ],
    rmap:{
    	'linkMan':['欧阳锋','陈刚','杨燕丽','李南书','刘盈','刘茵','林舒'],
    	'editor3':['欧阳锋','陈刚','杨燕丽','李南书','刘盈','刘茵','林舒'],
    	'type':['故宫讲坛','学术沙龙','快讯','宫廷人物','工程报道','贵宾接待']
	}, 
	manyToMany:['Image','CeAttachment','Doc','Thesis','Building','CeGift','Figure','AudioVideo','Relic']
});
